package com.daiTest.service;

import com.daiTest.pojo.Headline;
import com.baomidou.mybatisplus.extension.service.IService;
import com.daiTest.pojo.vo.PortalVo;
import com.daiTest.untils.Result;

/**
 * @author Administrator
 * @description 针对表【news_headline】的数据库操作Service
 * @createDate 2025-03-01 12:00:07
 */
public interface HeadlineService extends IService<Headline> {
    /*首页数据查询*/
    Result findNewPage(PortalVo portalVo);

    /*根据新闻id 查看全文*/
    Result showHeadLineDetail(Integer hid);

    /*发布新闻*/
    Result publish(Headline headline, String token);

    /*头条回显*/
    Result findHeadlineByHid(Integer hid);

    /*修改新闻*/
    Result Myupdate(Headline headline);
    /*删除新闻*//*
    Result removeByHid(Integer hid);*/
}
